//package com.xiaoyung.easyisapisdk.feign.api.third;
//
//import com.xiaoyung.easyisapisdk.common.base.IdParam;
//import com.xiaoyung.easyisapisdk.common.base.OpenApiRequest;
//import com.xiaoyung.easyisapisdk.common.base.Rest;
//import com.xiaoyung.easyisapisdk.common.base.RestTable;
//import com.xiaoyung.easyisapisdk.common.third.domain.CustomEmailConfig;
//import com.xiaoyung.easyisapisdk.common.third.domain.ThirdEmailTemplate;
//import com.xiaoyung.easyisapisdk.common.third.request.AddEmailTemplateRequest;
//import com.xiaoyung.easyisapisdk.common.third.request.ModifyEmailTemplateRequest;
//import com.xiaoyung.easyisapisdk.common.third.request.SendEmailRequeset;
//
//import feign.Headers;
//import feign.RequestLine;
//
///**
// * openApi 邮件服务
// */
///*@Api(tags={"邮件服务"})
//@ApiSupport(author = "Martin",order = 103)
//@RestController
//@RequestMapping("/email")*/
//public interface EmailApi {
//
//	/*@ApiOperation("发送邮件")
//	@ApiOperationSupport(order = 1)
//	@PostMapping("/openapi/email/send")*/
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/send")
//	public Rest<Integer> send(OpenApiRequest<SendEmailRequeset> req);
//	
//	/*@ApiOperation("新增邮件模板")
//	@ApiOperationSupport(order = 2)
//	@PostMapping("/openapi/email/addEmailTemplate")*/
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/addEmailTemplate")
//	public Rest<Void> addEmailTemplate(OpenApiRequest<AddEmailTemplateRequest> req);
//	
//	/*@ApiOperation("删除邮件模板")
//	@ApiOperationSupport(order = 3)
//	@PostMapping("/openapi/email/deleteEmailTemplate")*/
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/deleteEmailTemplate")
//	public Rest<Void> deleteEmailTemplate(OpenApiRequest<IdParam> req);
//	
//	/*@ApiOperation("修改邮件模板")
//	@ApiOperationSupport(order = 4)
//	@PostMapping("/openapi/email/modifyEmailTemplate")*/
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/modifyEmailTemplate")
//	public Rest<Void> modifyEmailTemplate(OpenApiRequest<ModifyEmailTemplateRequest> req);
//	
//	/*@ApiOperation("查询邮件模板")
//	@ApiOperationSupport(order = 5)
//	@PostMapping("/openapi/email/queryEmailTemplateList")*/
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/queryEmailTemplateList")
//	public RestTable<ThirdEmailTemplate> queryEmailTemplateList(OpenApiRequest<AddEmailTemplateRequest> req);
//	
//	//@ApiOperation("自定义邮箱设置")
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/saveCustomEmailConfig")
//	public Rest<Void> saveCustomEmailConfig(OpenApiRequest<CustomEmailConfig> req);
//	
//	//@ApiOperation("删除自定义邮箱")
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/deleteCustomEmailConfig")
//	public Rest<Void> deleteCustomEmailConfig(OpenApiRequest<Void> req);
//	
//	//@ApiOperation("获取自定义邮箱配置")
//	@Headers("Content-Type: application/json")
//	@RequestLine("POST /openapi/email/getCustomEmailConfig")
//	public Rest<CustomEmailConfig> getCustomEmailConfig(OpenApiRequest<Void> req) ;
//	
//}
